package com.nacos.shangtu.service;

import com.nacos.shangtu.entity.po.GroupPO;
import com.nacos.shangtu.entity.po.UserPO;
import com.nacos.shangtu.entity.ro.GroupRo;

import java.util.List;
import java.util.Optional;

public interface GroupService {
    String createGroup(String ownerId, List<String> userIds, String groupName);

    Optional<GroupPO> findGroup(List<String> userIds);

    List<UserPO> findUsersByGroupId(String groupId);

    Optional<GroupPO> findGroupById(String groupId);
}
